#nav, #nav ul
{
    margin: 0;
    padding: 0;
    list-style-type: none;
    list-style-position: outside;
    position: relative;
    line-height: 3em;
    font-weight: bold;
}

#nav a
{
    background: url("/App_Themes/Default/Images/topmenu-bg.png") repeat scroll 0 0 transparent;
    display: block;
    padding: 0px 5px;
    color: #fff;
    text-decoration: none;
}

#nav a:hover
{
    background-color: #85E4FC;
    color: #333;
}

#nav li
{
    float: left;
    position: relative;
    z-index:10;
    margin-left:1px;
}

#nav ul
{
    position: absolute;
    display: none;
    width: 12em;
    top: 3em;
}

#nav li ul a
{
    width: 12em;
    height: auto;
    float: left;
    line-height: 2.5em;
}

#nav ul ul
{
    top: auto;
}

#nav li ul ul
{
    left: 12em;
    margin: 0px 0 0 10px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul
{
    display: none;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul
{
    display: block;
}
